package com.zoop.springdubboa.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.zoop.service.DemoService;

@RestController
public class TestController {
	
	@Autowired
	private DemoService demoService;
	
	@RequestMapping(value="/test")
	public String test(){
		return demoService.sayHello("jian");
	}
	
}
